package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 系统角色菜单
 * TableName : SYS_ROLE_MENU
 * ClassName : com.swlz.entity.RoleMenu
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-12 01:39:00
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("SYS_ROLE_MENU")
public class RoleMenu  {


	/**
	 * <pre>系统角色菜单编号 - SYS_ROLE_MENU_ID</pre>
	 **/
	@Id
	private Long roleMenuId;
	/**
	 * <pre>角色编号 - ROLE_ID</pre>
	 **/
	private Integer roleId;
	/**
	 * <pre>系统菜单编号 - MENU_ID</pre>
	 **/
	private Long menuId;


	/**
	 * <pre>获取系统角色菜单编号</pre>
	 **/
	public Long getRoleMenuId() {
        return roleMenuId;
    }

	/**
	 * <pre>设置系统角色菜单编号</pre>
	 **/
    public void setRoleMenuId(Long roleMenuId) {
        this.roleMenuId = roleMenuId;
    }

	/**
	 * <pre>获取角色编号</pre>
	 **/
	public Integer getRoleId() {
        return roleId;
    }

	/**
	 * <pre>设置角色编号</pre>
	 **/
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

	/**
	 * <pre>获取系统菜单编号</pre>
	 **/
	public Long getMenuId() {
        return menuId;
    }

	/**
	 * <pre>设置系统菜单编号</pre>
	 **/
    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("roleMenuId=");
    	str.append(roleMenuId);
    	str.append(", ");
    	str.append("roleId=");
    	str.append(roleId);
    	str.append(", ");
    	str.append("menuId=");
    	str.append(menuId);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}